package com.jgsu.sell.repository;

import com.jgsu.sell.dataobject.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 描述:
 * 订单详情
 *
 * @author lqd12
 * @create 2018-08-18 21:29
 */
public interface OrderDetailRepository extends JpaRepository<OrderDetail,String>{
    /**
     * 查询订单详情
     * @param orderId
     * @return
     */
    List<OrderDetail> findByOrderId(String orderId);
}